package com.rockcent.mall.lib.domain;

import com.rockcent.common.domain.IDEntityMall;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by marco on 2017/8/3.
 * 小程序的访问记录日志
 */
@Entity
@Table(name = "wxapp_visit_page_log")
@DynamicInsert
@DynamicUpdate
public class WxappVisitPageLog extends IDEntityMall {

    //页面路径
    @Column(columnDefinition = "varchar(300) comment '页面路径'")
    private String pagePath;
    //访问次数
    @Column(columnDefinition = "bigint comment '访问次数'")
    private Long pageVisitPv;
    //访问人数
    @Column(columnDefinition = "bigint comment '访问人数'")
    private Long pageVisitUv;
    //次均停留时长
    @Column(columnDefinition = "DECIMAL(30,10) comment '次均停留时长'")
    private BigDecimal pageStaytimePv;
    //进入页次数
    @Column(columnDefinition = "bigint comment '进入页次数'")
    private Long entrypagePv;
    //退出页次数
    @Column(columnDefinition = "bigint comment '退出页次数'")
    private Long exitpagePv;
    //转发次数
    @Column(columnDefinition = "bigint comment '转发次数'")
    private Long pageSharePv;
    //转发人数
    @Column(columnDefinition = "bigint comment '转发人数'")
    private Long pageShareUv;
    //查询时间
    @Column(columnDefinition = "varchar(60) comment '查询时间'")
    private String refDate;

    public String getPagePath() {
        return pagePath;
    }

    public void setPagePath(String pagePath) {
        this.pagePath = pagePath;
    }

    public Long getPageVisitPv() {
        return pageVisitPv;
    }

    public void setPageVisitPv(Long pageVisitPv) {
        this.pageVisitPv = pageVisitPv;
    }

    public Long getPageVisitUv() {
        return pageVisitUv;
    }

    public void setPageVisitUv(Long pageVisitUv) {
        this.pageVisitUv = pageVisitUv;
    }

    public BigDecimal getPageStaytimePv() {
        return pageStaytimePv;
    }

    public void setPageStaytimePv(BigDecimal pageStaytimePv) {
        this.pageStaytimePv = pageStaytimePv;
    }

    public Long getEntrypagePv() {
        return entrypagePv;
    }

    public void setEntrypagePv(Long entrypagePv) {
        this.entrypagePv = entrypagePv;
    }

    public Long getExitpagePv() {
        return exitpagePv;
    }

    public void setExitpagePv(Long exitpagePv) {
        this.exitpagePv = exitpagePv;
    }

    public Long getPageSharePv() {
        return pageSharePv;
    }

    public void setPageSharePv(Long pageSharePv) {
        this.pageSharePv = pageSharePv;
    }

    public Long getPageShareUv() {
        return pageShareUv;
    }

    public void setPageShareUv(Long pageShareUv) {
        this.pageShareUv = pageShareUv;
    }

    public String getRefDate() {
        return refDate;
    }

    public void setRefDate(String refDate) {
        this.refDate = refDate;
    }
}
